using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.DirectX;

namespace AlumnoEjemplos.TP3D.Collider
{
    public class CollisionMobileBox : CollisionBox
    {

        public CollisionMobileBox(Placeable placeable): base(placeable)
        {
        }
        public override Vector3 MinVertex
        {
            set
            {
                this._minVertex = this.Position - value;
                this._isDirty = true;
            }
            get
            {
                return this.Position - this._minVertex;
            }
        }
        public override Vector3 MaxVertex
        {
            set
            {
                this._maxVertex = this.Position - value;
                this._isDirty = true;
            }
            get
            {
                return this.Position - this._maxVertex;
            }
        }

    }
}
